<!doctype html>
<html>
<head>
<title>Resume My Way</title>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='main.css') }}">
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='jquery-ui-1.8.14.custom.css') }}">
<script type="text/javascript" src="{{ url_for('.static', filename='jquery-1.5.1.min.js') }}"></script>
<script type="text/javascript" src="{{ url_for('.static', filename='jquery-ui-1.8.14.custom.min.js') }}"></script>
{% block head_extra %}
{% endblock %}
</head>

<body>
<div class=page>
<h1>Resume My Way</h1>
	
<div class=nav>
	<span class=navigation>
		<a href="{{ url_for('index') }}">home</a>
	</span>
	<span class=account>
	{% if not session.logged_in %}
    	<a href="{{ url_for('login') }}">login</a>
	    <a href="{{ url_for('new_user') }}">register</a>
	{% else %}
		Logged in as {{ session ['first'] }} | <a href="{{ url_for('logout') }}">logout</a>
	{% endif %}
	</span>
</div>

{% for message in get_flashed_messages() %}
	<div class=flash>{{ message }}</div>
{% endfor %}

{% block body %}
{% block header %}
{% endblock %}

{% if error %}
<p class=error><strong>Error:</strong> {{ error }}
{% endif %}

{% block content %}

{% endblock %}

{% endblock %}

</div>

{% block footer %}
<div class=footer>
	All rights reserved. Copyright 2011.
</div>
{% endblock %}

</body>

</html>
